<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/goods.css">
</head>

<body onselectstart="return false;">


    <template id="temp">
            <tr>
                <td>
                    <input type="checkbox" class="check" checked>
                </td>
                <td>
                    <img src="images/{src}">{txt}
                </td>
                <td>{price}</td>
                <td>
                    <span class="reduce">-</span><input class="text" value="1"><span class="add">+</span>
                </td>
                <td>{subtotal}</td>
                <td>
                    <span class="del">删除</span>
                </td>
            </tr>
        </template>
    <div class="box" id="box">
        <table>
            <thead>
                <tr>
                    <th>
                        <label>
                            <input type="checkbox" class="checkAll check" checked>全选
                        </label>
                    </th>
                    <th>商品</th>
                    <th>单价</th>
                    <th>数量</th>
                    <th>小计</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="tbody">

            </tbody>
        </table>
        <div class="bottom" id="bottom">
            <aside>

            </aside>
            <label>
                    <input type="checkbox" class="checkAll check" checked>全选
                </label>
            <span class="delAll">全部删除</span>
            <div>已选商品：
                <span class="selected" id="num">3</span>件
            </div>
            <a href="#" class="show">显示或隐藏</a>
            <div>合计：￥
                <span class="total" id="total">7000</span>
            </div>
            <div class="js">结算</div>
        </div>
    </div>
    <script src="./js/goods.js"></script>
    <script>
    </script>
</body>

</html>